package com.ph.shopping.facade.mapper;

import cm.ph.shopping.facade.order.entity.PhMerchantOrderProducts;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @项目：phshopping-facade-order
 * @描述：
 * @作者： Mr.zheng
 * @创建时间：2017-03-29
 * @Copyright @2017 by Mr.zheng
 */
public interface AgentOrderProductsMapper {
    /**
     * 新增订单商品关联数据
     * @param phMerchantOrderProductsList
     * @param orderId
     * @return
     */
    int insertAgentOrderProducts(@Param(value = "list") List<PhMerchantOrderProducts> phMerchantOrderProductsList,
                                    @Param(value = "orderId") Long orderId);
}
